package per.srp.demo.carLink.entity;

import java.net.Socket;

public class CarAndSocket {
    private Socket socket;
    private Car car;

    public CarAndSocket(Socket socket, Car car) {
        this.socket = socket;
        this.car = car;
    }

    public Socket getSocket() {
        return socket;
    }

    public void setSocket(Socket socket) {
        this.socket = socket;
    }

    public Car getCar() {
        return car;
    }

    public void setCar(Car car) {
        this.car = car;
    }
}
